package com.share.common.utils.plugin.applicationEvent.example;

import org.springframework.stereotype.Component;

@Component
public class SendEmaiListenerImpl implements SendEmailEventListenerPlugin{

	@Override
	public void onEvent(SendEmailEvent event) {
		System.out.println("插件得到email内容为："+event.getMessage().getContent());
		System.out.println("插件得到email地址为："+event.getMessage().getEmail());
	}

}
